Next | Prev | Up | Top | Contents | Index
Using scsi_free()
A SCSI driver typically calls scsi_free() from the pfxclose() entry point. That is the time when the driver knows that no processes have the device open, so the host adapter should be allowed to release any resources it is holding just for this device.
In addition, scsi_free() releases the device for use by other drivers, if the driver had allocated it for exclusive use.
Next | Prev | Up | Top | Contents | Index